package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;
import org.locationtech.jts.geom.Geometry;

import java.math.BigDecimal;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_gre_map_stat_detail")
public class GreMapStatDetail extends BaseEntity {
        /**
     * 
     */
    @DbTableField(columnName = "c_land_id", dbType = DbTypeEnum.VARCHAR)
    public String landId ;

    /**
     * 年份
     */
    @DbTableField(columnName = "c_year", dbType = DbTypeEnum.INTEGER)
    public Integer year ;

    /**
     * 数据名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 大类id
     */
    @DbTableField(columnName = "c_big_class_id", dbType = DbTypeEnum.VARCHAR)
    public String bigClassId ;

    /**
     * 面积
     */
    @DbTableField(columnName = "c_measure", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal measure ;

    /**
     * 绿地面积
     */
    @DbTableField(columnName = "c_gre_measure", dbType = DbTypeEnum.DECIMAL)
    public BigDecimal greMeasure ;

    /**
     * 空间数据
     */
    @DbTableField(columnName = "c_geom", dbType = DbTypeEnum.OTHER)
    public Geometry geom ;


}
